package com.lrkj.workorder.service;

import java.util.List;

import com.lrkj.workorder.domain.WorkOrder;
import com.lrkj.workorder.domain.WorkOrderLog;
import com.lrkj.common.core.service.BaseService;

/**
 * 工单日志Service接口
 *
 * @author yajun_ren
 * @date 2022-04-25
 */
public interface IWorkOrderLogService extends BaseService<WorkOrderLog>
{
    /**
     * 查询工单日志
     *
     * @param id 工单日志ID
     * @return 工单日志
     */
    public WorkOrderLog selectWorkOrderLogById(String id);

    /**
     * 查询工单日志列表
     *
     * @param workOrderLog 工单日志
     * @return 工单日志集合
     */
    public List<WorkOrderLog> selectWorkOrderLogList(WorkOrderLog workOrderLog);

    /**
     * 新增工单日志
     *
     * @param workOrderLog 工单日志
     * @return 结果
     */
    public int insertWorkOrderLog(WorkOrderLog workOrderLog);

    /**
     * 修改工单日志
     *
     * @param workOrderLog 工单日志
     * @return 结果
     */
    public int updateWorkOrderLog(WorkOrderLog workOrderLog);

    /**
     * 批量删除工单日志
     *
     * @param ids 需要删除的工单日志ID
     * @return 结果
     */
    public int deleteWorkOrderLogByIds(String[] ids);

    /**
     * 删除工单日志信息
     *
     * @param id 工单日志ID
     * @return 结果
     */
    public int deleteWorkOrderLogById(String id);

}
